/**
 * Created with Intellij IDEA.
 * Description:
 * User: wangj
 * Date: 2022-01-28
 * Time: 5:55
 */
public class Test {
    public static void main(String[] args) {
        for (int i = 1; i <= 9; i++) {
            for (int j = 1; j <= 9; j++) {
                if(j<=i) {
                    int ret=i*j;
                    System.out.printf("%d*%d=%d ",j,i,ret);;
                }
            }
            System.out.println();
        }
    }
}
